package org.uw.src.logic;

public class entity {
	int ID = 0;
	
	protected float x = 0;
	protected float y = 0;
	protected float z = 0;
	
	protected float pitch = 0;
	protected float yaw = 0;
	protected float roll = 0;
	
	protected float speed_x = 0;
	protected float speed_y = 0;
	protected float speed_z = 0;
	
	protected float mass = 1;
	
	public entity(float x, float y, float z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}
	public float getMass() {
		return mass;
	}
	
	public void rotate(float pitch, float yaw, float roll) {
		this.pitch+=pitch;
		this.yaw += yaw;
		this.roll += roll;
	}
	
	public void setRotation(float pitch, float yaw, float roll) {
		this.pitch =pitch;
		this.yaw = yaw;
		this.roll = roll;
	}
	
	public float getPitch() {
		return pitch;
	}
	
	public float getYaw() {
		return yaw;
	}
	
	public float setRoll() {
		return roll;
	}
	
	public void setPitch(float p) {
		pitch = p;
	}
	
	public void setYaw(float y) {
		yaw = y;
	}
	
	public void setRoll(float r) {
		roll = r;
	}
	
	
	public void update() {
		
	}
}
